<?php
  session_start();
  header ("Content-Type: text/html; charset=UTF-8");
  //后台登录配置文件
  include(dirname(__file__)."/includes/initadmin.php");
  include(dirname(__file__). "/modules.php");
  include_once(dirname(__file__)."/lib/myfun.php");
  if($_SESSION['user_id']=='')
  {
	//header("location: $conf[base_url]siteadmin/login.php");
	echo '<script language="javascript">';
	echo "window.location.href('$conf[base_url]login.php');";
	echo '</script>';
	exit(0);
  }
?>